When the number of serial numbers associated with a stock line is different from the stock quantity, this automatic resynchronization script is not sufficient. A manual intervention, product by product, is necessary. To do so, use the Resynchronization of series/stocks function.
These scripts can be run in direct or batch mode.
Refer to documentation Implementation
Presentation
Enter your selection criteria, if needed, and select the resynchronization and control scripts to launch.
Once the script is complete, a log file is displayed, available for printing. This log file lists the errors found and any correction carried out.
Close
Fields
The following fields are present on this tab :
Selections
| The storage site is initialized by default with the site linked to your function profile. |
| Select this check box so the selected scripts are applied to all the stock sites. |
| Enter this field to select a range of categories. Specify the category corresponding to the selection start range. |
| Enter this field to select a range of categories. Specify the category corresponding to the selection end range. |
| Enter this field to select a product or a range of products. Specify the reference of the product corresponding to the selection start range. |
| Enter the ending product number for the selection. Product ranges are used to restrict the report to these products only. |
Resynchronizations
| Select this check box to resynchronize the totals in the stock lines and trigger the purge of null stock lines. The calculation of allocated quantities is run in packing units (PAC) activated on potency-managed products. |
| Select this check box to:
Different cases are possible. Loop on STOQLYD:
Loop on STOCK:
Loop on STOQLYH: When no record exists in STOQLYD then the STOQLYH record is purged. |
| Select this check box to resynchronize the remaining quantity headings prior to a potential disassembly (the processing is run for all sites). |
| Select this check box to recalculate the site stock based on the stock lines of this site. The processing compares the file of product-site totals (ITMMVT) to the other files:
In the first instance, the system deletes the old amounts (storing the old values). After comparing the files described above, the ITMMVT file is updated when a variance has been established. This leads to updating all stocks (reserved stock, allocated stock, stock in transfer...) in the ITMMVT table. |
| Check this box to resynchronize the stocks and trigger the purge of null stock lines. The process verifies that the product-sites, stock lines and locations blocked for stock counts are correctly identified. If this is not the case, the hold flag and the list of stock count records concerned are reset to zero. Additionally, the processing checks:
If inconsistencies are detected, they are corrected and reported in the log file. For instance:
|
| Select this check box to recalculate and update the stock by lot/site based on the stock lines of this site. |
Control
| Select this check box to control the consistency between the quantity expressed in the stock and the quantity indicated in the FIFO stack for each product on the site. The script compares the STOCOST file to the STOCK file. When an anomaly is discovered, the error must be corrected manually. |
|   |
| Select this check box to reconciliate stock lines and the related serial numbers. |
| Select this check box to control the consistency of information relating to the License plate numbers: their status, location, management mode (single-lot or multi-lot), and all the information on their attached stock lines. In some cases, the Resynchronization process updates the container. In contrast, specific errors are only reported in the log file because they require a manual intervention. To correct these errors, use the License plate number operations function. The controls can be broken down as follows: 1/ Control on stock lines
If it is, the resynchronization process breaks the link between the containers and the stock lines. The log file specifies the stock chrono counter and the updated license plate numbers. 2/ Control on the internal container license plate number |
Miscellaneous
| The use of this check box is technical; it responds to the following situation: When the product is set up at the product-supplier level or at the product-site level in order to be subject to a periodic quality control, technical locks are managed by Enterprise Management on the ITMFACILIT and ITMBPS tables. In the event of an incident (e.g.: power outage), these locks may not always be deleted. In this case, the frequency of the quality control is faulty and the quality control is never triggered. |
Close
This function can be run in batch mode. The standard task FUNSTOR is provided for that purpose.
In addition to the generic error messages, the following messages can appear during the entry :
This message is displayed when the specified site is not a declared site.
This message is displayed when the script finds an anomaly in the stock lot file. The update of STOLOT with respect to STOCK is automatic.
This message is displayed when the script finds an anomaly in the site stock file. The ITMMVT file is automatically updated according to the information recorded in the files concerned (STOCK, STOALL…).
This message means that the record in STOQLYD has no corresponding record in STOQLYH and STOCK.
The quality control appears to be validated whereas one line has not been controlled yet. The script modifies the posting value of the VALFLG field by setting it to 1 and rewrites the record in STOQLYH.
This message means that the record in STOQLYH has no corresponding record in STOQLYD. The record in STOQLYH is thus purged automatically.
This message is displayed when the FIFO stack price and stock control processing has found an anomaly. The correction must be carried out manually.
When a serial number is not issued nor in stock, the deletion of the record in STOSER is automatic.